import request from '@/utils/request'

export default {
  getInitData(params) {
    return request({
      url: '/app/indexData',
      method: 'get',
      params
    })
  },
  getMoreProduct(params) {
    return request({
      url: '/app/getMoreProduct',
      method: 'get',
      params
    })
  },
  getProductDetail(params) {
    return request({
      url: '/app/getProductDetail',
      method: 'get',
      params
    })
  },
  getProductOptions(params) {
    return request({
      url: '/app/getProductOptions',
      method: 'get',
      params
    })
  },
  getShopDataByCity(params) {
    return request({
      url: '/app/getShopDataByCity',
      method: 'get',
      params
    })
  },
  getDateSchedule(params) {
    return request({
      url: '/app/getDateSchedule',
      method: 'get',
      params
    })
  },
  getRangeTime(params) {
    return request({
      url: '/app/getRangeTime',
      method: 'get',
      params
    })
  }
}
